home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Navigation Services SDK / Examples / SimpleText / SimpleText ƒ / Clipboard.r < prev    next >
Encoding:
Text File  |  1999-06-16  |  1003 b   |  33 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Clipboard.r
  3.  
  4.     Contains:    Clipboard support for simple text application
  5.  
  6. ** Copyright 1993-1996 Apple Computer. All rights reserved.
  7. **
  8. **    You may incorporate this sample code into your applications without
  9. **    restriction, though the sample code has been provided "AS IS" and the
  10. **    responsibility for its operation is 100% yours.  However, what you are
  11. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  12. **    after having made changes. If you're going to re-distribute the source,
  13. **    we require that you make it clear in the source that the code was
  14. **    descended from Apple Sample Code, but that you've made changes.
  15.  
  16. */
  17.  
  18. #include "Clipboard.h"
  19.  
  20. resource 'WIND' (kClipboardWindowID, purgeable) {
  21.     {100, 100, 215, 400}, zoomDocProc, invisible, goAway, 0, CLIPBOARDTITLE, centerMainScreen
  22. };
  23.  
  24. resource 'STR#' (kClipboardStrings, purgeable) {
  25.     {
  26.     CLIPBOARDNONESTRING;
  27.     CLIPBOARDUNKNOWNSTRING;
  28.     CLIPBOARDPICTSTRING;
  29.     CLIPBOARDTEXTSTRING;
  30.     CLIPBOARDHIDE;
  31.     CLIPBOARDSHOW;
  32.     };
  33. };